import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
import numpy as np

df = pd.read_csv('tips.csv')
print(df[:5])

# hue 在哪个列上继续细分
# NO y, it is just a count statics
sns.countplot(x='day',
              # y='total_bill',  # NO y
              data=df,
              hue='sex',
              palette='Set1',
              zorder=100,
              )
plt.show()
